package com.xingkeduo.pojo.table;

import com.xingkeduo.util.pojo.base.BaseTable;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.ibatis.type.Alias;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * 文件概述
 *
 * @author wangxilong <wangxilong@xingkeduo.com>
 * @version id:v0.1 18-12-29 下午7:07
 * @package BeautyOS
 * @copyright Copyright (c) XKD 2019
 */
@Data
@Accessors(chain = true)
@Alias("Servprod")
public class ServprodTable extends BaseTable<ServprodTable> {

//    @NotEmpty(message = "名称不能为空")
    private String name;

   // @NotEmpty(message = "简介内容不能为空")
    private String intro;

    private Integer sort;

}